#ifndef SERVO_H
#define SERVO_H
#include "softwarePwm.h"


class Servo
{
public:
    Servo(TimerQueue& ptimer, unsigned short pin, unsigned long pulseLength,
          unsigned long highMinLen, unsigned long highMaxLen)
        :pwmPin(ptimer, pin, pulseLength, highMinLen, highMaxLen)
    {}
    void rotate(int deg)
    {
    }
private:
    Pwm pwmPin;
};
#endif // SERVO_H
